package com.enjoyor.soa.traffic.core.efoms.domain;

import com.enjoyor.soa.traffic.util.bean.base.ABean;

import io.swagger.annotations.ApiModel;

/**
 * 设备报警表
 * 
 * @author fzj
 * 
 * @date 2019-02-28
 */

@ApiModel(value = "DeviceWranInfo", description = "设备报警表")
public class DeviceWranInfo extends ABean{
    
	private static final long serialVersionUID = 3541229989035717612L;

	/**
     * 报警编号：WR+秒级时间戳
     */
    private String devWranId;

    /**
     * 设备类别编号
     */
    private String devCategoryCode;

    /**
     * 设备类别名称
     */
    private String devCategoryName;

    /**
     * 设备类型编号
     */
    private String devTypeCode;

    /**
     * 设备类型名称
     */
    private String devTypeName;

    /**
     * 设备编号
     */
    private String devId;

    /**
     * 设备名称
     */
    private String devName;

    /**
     * 报警类型编号
     */
    private String wranTypeCode;

    /**
     * 报警类型名称
     */
    private String wranTypeName;

    /**
     * 报警等级编号
     */
    private String wranLevelCode;

    /**
     * 报警等级名称
     */
    private String wranLevelName;

    /**
     * 报警内容
     */
    private String wranContent;

    /**
     * 是否恢复
     */
    private Boolean isRecover;

    /**
     * 报警时间
     */
    private String wranTime;

    /**
     * 更新时间
     */
    private String updateTime;

    /**
     * 备注
     */
    private String wranMemo;
    
    /**
     * 报警活跃时间
     */
    private String activeTime;

    public String getDevWranId() {
        return devWranId;
    }

    public void setDevWranId(String devWranId) {
        this.devWranId = devWranId == null ? null : devWranId.trim();
    }

    public String getDevCategoryCode() {
        return devCategoryCode;
    }

    public void setDevCategoryCode(String devCategoryCode) {
        this.devCategoryCode = devCategoryCode == null ? null : devCategoryCode.trim();
    }

    public String getDevCategoryName() {
        return devCategoryName;
    }

    public void setDevCategoryName(String devCategoryName) {
        this.devCategoryName = devCategoryName == null ? null : devCategoryName.trim();
    }

    public String getDevTypeCode() {
        return devTypeCode;
    }

    public void setDevTypeCode(String devTypeCode) {
        this.devTypeCode = devTypeCode == null ? null : devTypeCode.trim();
    }

    public String getDevTypeName() {
        return devTypeName;
    }

    public void setDevTypeName(String devTypeName) {
        this.devTypeName = devTypeName == null ? null : devTypeName.trim();
    }

    public String getDevId() {
        return devId;
    }

    public void setDevId(String devId) {
        this.devId = devId == null ? null : devId.trim();
    }

    public String getDevName() {
        return devName;
    }

    public void setDevName(String devName) {
        this.devName = devName == null ? null : devName.trim();
    }

    public String getWranTypeCode() {
        return wranTypeCode;
    }

    public void setWranTypeCode(String wranTypeCode) {
        this.wranTypeCode = wranTypeCode == null ? null : wranTypeCode.trim();
    }

    public String getWranTypeName() {
        return wranTypeName;
    }

    public void setWranTypeName(String wranTypeName) {
        this.wranTypeName = wranTypeName == null ? null : wranTypeName.trim();
    }

    public String getWranLevelCode() {
        return wranLevelCode;
    }

    public void setWranLevelCode(String wranLevelCode) {
        this.wranLevelCode = wranLevelCode == null ? null : wranLevelCode.trim();
    }

    public String getWranLevelName() {
        return wranLevelName;
    }

    public void setWranLevelName(String wranLevelName) {
        this.wranLevelName = wranLevelName == null ? null : wranLevelName.trim();
    }

    public String getWranContent() {
        return wranContent;
    }

    public void setWranContent(String wranContent) {
        this.wranContent = wranContent == null ? null : wranContent.trim();
    }

    public Boolean getIsRecover() {
        return isRecover;
    }

    public void setIsRecover(Boolean isRecover) {
        this.isRecover = isRecover;
    }

    public String getWranTime() {
        return wranTime;
    }

    public void setWranTime(String wranTime) {
        this.wranTime = wranTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getWranMemo() {
        return wranMemo;
    }

    public void setWranMemo(String wranMemo) {
        this.wranMemo = wranMemo == null ? null : wranMemo.trim();
    }

	public String getActiveTime() {
		return activeTime;
	}

	public void setActiveTime(String activeTime) {
		this.activeTime = activeTime;
	}
	
	public DeviceWranInfo() {};
	/**
     * 一般报修操作记录
     */
	public DeviceWranInfo(String devCategoryCode, String devCategoryName, String devTypeCode, String devTypeName,
			String devId, String devName, String wranTypeCode, String wranTypeName, String wranLevelCode,
			String wranLevelName,String wranContent) {
        this.devCategoryCode = devCategoryCode == null ? null : devCategoryCode.trim();
        this.devCategoryName = devCategoryName == null ? null : devCategoryName.trim();
        this.devTypeCode = devTypeCode == null ? null : devTypeCode.trim();
        this.devTypeName = devTypeName == null ? null : devTypeName.trim();
        this.devId = devId == null ? null : devId.trim();
        this.devName = devName == null ? null : devName.trim();
        this.wranTypeCode = wranTypeCode == null ? null : wranTypeCode.trim();
        this.wranTypeName = wranTypeName == null ? null : wranTypeName.trim();
        this.wranLevelCode = wranLevelCode == null ? null : wranLevelCode.trim();
        this.wranLevelName = wranLevelName == null ? null : wranLevelName.trim();
        this.wranContent = wranContent == null ? null : wranContent.trim();
	};
	
}